package com.xjrsoft.module.customerTwo.EMP.dormitory_room.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import com.xjrsoft.common.Enum.TransDataType;
import com.xjrsoft.common.annotation.DataTrans;
import io.swagger.annotations.ApiModel;

/**
 * 视图实体类
 *
 * @author dongxinhang
 * @since 2023-07-20
 */
@Data
@ApiModel(value = "列表TDormitoryRoomVo对象", description = "列表TDormitoryRoomVo对象")
public class TDormitoryRoomListVo {

    @JsonProperty("id")
    private String id;

    @JsonProperty("part")
    @DataTrans(dataType = TransDataType.CASCADE, dataCodes = {"cdffa8367d945231b4149ab50d83f575","681dd441c8918e96b85345a4575ce7ea"}, showFields = {"name","name"}, savedFields = {"code","code"}, multi = true, separator = "/")
    private String part;

    @JsonProperty("room_number")
    private String roomNumber;

    @JsonProperty("room_type")
    @DataTrans(dataType = TransDataType.DATA_ITEM, dataCode = "roomType", multi = false)
    private String roomType;

    @JsonProperty("bed_number")
    private Integer bedNumber;

    @JsonProperty("used_bed_number")
    private Integer usedBedNumber;

    @JsonProperty("energy_meter_number")
    private String energyMeterNumber;

    @JsonProperty("cold_water_meter_number")
    private String coldWaterMeterNumber;

    @JsonProperty("hot_water_meter_number")
    private String hotWaterMeterNumber;

    @JsonProperty("status")
    private String status;


    @JsonProperty("flowStatus")
    private String flowStatus;

    @JsonProperty("nwfSchemeinfoId")
    private String nwfSchemeinfoId;

    @JsonProperty("formId")
    private String formId;

    @JsonProperty("deploymentId")
    private String deploymentId;
}
